
<div *ngIf="record">
    <h2><span jhiTranslate="equipmentcheckApp.record.detail.title">Record</span> {{record.id}}</h2>
    <hr>
    <jhi-alert-error></jhi-alert-error>
    <dl class="row-md jh-entity-details">
        <dt><span jhiTranslate="equipmentcheckApp.record.computerRoom">Computer Room</span></dt>
        <dd>
            <span>{{record.computerRoom}}</span>
        </dd>
        <dt><span jhiTranslate="equipmentcheckApp.record.computerCode">Computer Code</span></dt>
        <dd>
            <span>{{record.computerCode}}</span>
        </dd>
        <dt><span jhiTranslate="equipmentcheckApp.record.equipment">Equipment</span></dt>
        <dd>
            <span>{{record.equipment}}</span>
        </dd>
        <dt><span jhiTranslate="equipmentcheckApp.record.describe">Describe</span></dt>
        <dd>
            <span>{{record.describe}}</span>
        </dd>
        <dt><span jhiTranslate="equipmentcheckApp.record.name">Name</span></dt>
        <dd>
            <span>{{record.name}}</span>
        </dd>
        <dt><span jhiTranslate="equipmentcheckApp.record.call">Call</span></dt>
        <dd>
            <span>{{record.call}}</span>
        </dd>
        <dt><span jhiTranslate="equipmentcheckApp.record.dataTime">Data Time</span></dt>
        <dd>
            <span>{{record.dataTime | date:'medium'}}</span>
        </dd>
    </dl>

    <button type="submit"
            (click)="previousState()"
            class="btn btn-info">
        <span class="fa fa-arrow-left"></span>&nbsp;<span jhiTranslate="entity.action.back"> Back</span>
    </button>

    <button type="button"
            [routerLink]="['/', { outlets: { popup: 'record/'+ record.id + '/edit'} }]"
            replaceUrl="true"
            queryParamsHandling="merge"
            class="btn btn-primary">
        <span class="fa fa-pencil"></span>&nbsp;<span jhiTranslate="entity.action.edit"> Edit</span>
    </button>
</div>

<button (click)="testC()" >sdfasdfasdf</button>

